package com.cloudfun.campusshare.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author wangxiyuan
 * @description
 * @createDate 2021/5/27 9:32
 **/
@Data
@Entity
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "liquid_capacity_setting")
@Accessors(chain = true)
public class LiquidCapacitySetting {
    @Id
    private String washPointId;

    @Column(name = "l_threshold")
    private Integer lThreshold;

    @Column(name = "d_threshold")
    private Integer dThreshold;

    @Column(name = "l_min_capacity")
    private Integer lMinCapacity;

    @Column(name = "d_min_capacity")
    private Integer dMinCapacity;

    @Column(name = "l_capacity")
    private Integer lCapacity;

    @Column(name = "d_capacity")
    private Integer dCapacity;
}
